package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_par")
public class Par extends Model<Par> {

    private static final long serialVersionUID=1L;

    private String id;

    private String tParStatus;

    private String tParStatus2;

    private String tParTime;

    private String tAprDesc;


    private String staffName;

    /**
     * 申请公司ID
     */
    private String tParComA;

    /**
     * 被申请公司ID
     */
    private String tParComB;

    /**
     * 是客户(0)还是供应商(1)
     */
    private String tParRel;

    @TableField(exist = false)
    private Company company;



    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
